#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include "listviewdelegate.h"
#include <QStandardItemModel>
#include <QDebug>


namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

    void addRowtoListView(int row, QStandardItemModel* model);

private:
    Ui::MainWindow *ui;

public slots:
    void addItem(void);

};

#endif // MAINWINDOW_H
